package com.yzt.sys.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.yzt.base.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 系统菜单表
 * </p>
 *
 * @author Y
 * @since 2020-12-16
 */
@TableName("sys_menu")
@ApiModel(value = "Menu对象", description = "系统菜单表")
public class Menu extends BaseEntity {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "菜单名称")
	@TableField("menu_text")
	private String menuText;

	@ApiModelProperty(value = "菜单URL")
	@TableField("menu_url")
	private String menuUrl;

	@ApiModelProperty(value = "菜单图标地址")
	@TableField("menu_icon")
	private String menuIcon;

	@ApiModelProperty(value = "菜单排序等级(正序)", example = "0")
	@TableField("menu_level")
	private Integer menuLevel;

	@ApiModelProperty(example = "0")
	@TableField("parentMenu_id")
	private Long parentmenuId;

	@TableField(exist = false)
	private String parentmenuName;

	public String getMenuText() {
		return menuText;
	}

	public void setMenuText(String menuText) {
		this.menuText = menuText;
	}

	public String getMenuUrl() {
		return menuUrl;
	}

	public void setMenuUrl(String menuUrl) {
		this.menuUrl = menuUrl;
	}

	public String getMenuIcon() {
		return menuIcon;
	}

	public void setMenuIcon(String menuIcon) {
		this.menuIcon = menuIcon;
	}

	public Integer getMenuLevel() {
		return menuLevel;
	}

	public void setMenuLevel(Integer menuLevel) {
		this.menuLevel = menuLevel;
	}

	public Long getParentmenuId() {
		return parentmenuId;
	}

	public void setParentmenuId(Long parentmenuId) {
		this.parentmenuId = parentmenuId;
	}

	public String getParentmenuName() {
		return parentmenuName;
	}

	public void setParentmenuName(String parentmenuName) {
		this.parentmenuName = parentmenuName;
	}
	
}
